//
//  FieldObservationEditViewController.h
//  Tazama NGO
//
//  Created by jsheriff on 3/11/11.
//  Copyright 2011 The MITRE Corporation. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FieldObservation.h"
#import "EditItemDelegate.h"
#import "SelectionDelegate.h"
#import "TextEditController.h"
#import "TextEditViewController.h"
#import "LatLongSelectionController.h"
#import "LatLongSelectionController_iPad.h"
#import "MenuTableViewController.h"
#import "ImageSelectionController.h"
#import "ImageSelectionController_iPad.h"

@protocol FieldObservationEditViewControllerDelegate <NSObject>

-(void)didSaveFieldObservationEdit;
-(void)didCancelFieldObservationEdit;

@end


@interface FieldObservationEditViewController : UITableViewController <EditItemDelegate, SelectionDelegate> {
	id <FieldObservationEditViewControllerDelegate> delegate;
	FieldObservation *fieldObservation;
    TextEditController *textEditController;
    TextEditViewController *textEditViewController;
    LatLongSelectionController *latLongSelectionController;
    LatLongSelectionController_iPad *latLongSelectionController_iPad;
    MenuTableViewController *menuTableViewController;
    ImageSelectionController *imageSelectionController;
    ImageSelectionController_iPad *imageSelectionController_iPad;
    int fieldModified;
}

@property (nonatomic, assign) id <FieldObservationEditViewControllerDelegate> delegate;
@property (nonatomic, retain) FieldObservation *fieldObservation;

@end
